package com.xuly.process.service.leave;

import lombok.extern.slf4j.Slf4j;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ServiceTask1 implements JavaDelegate {
    public ServiceTask1() {
        System.out.println(888);
    }

    @Override
    public void execute(DelegateExecution delegateExecution) {
        log.info("进入serviceTask1,报错");
//        int i=1/0;
        System.out.println("修复错误，完成执行");
    }
}
